package org.vaadin.vaadinjit.widgetset.client.ui;


/**
 * Overlay type for the AreaChart.
 * 
 * @author jonkka
 *
 */
public final class JitAreaChartOverlay extends JitChartOverlay {

	/**
	 * Overlays always specifies an empty protected constructor
	 * 
	 */
	protected JitAreaChartOverlay(){}
	
	
	/**
	 * <p>
	 * Filters the category with the specified label, collapsing all
	 * other stacks
	 * </p>
	 * <p>
	 * <code> TODO: should support variable amount of labels </code>
	 * </p>
	 * 
	 * @param label the label of the category to filter
	 */
	public native void filter(String label) /*-{
		this.filter(label);
	}-*/;


	/**
	 * Restore all collapsed stacks
	 */
	public native void restore() /*-{
		this.restore();
	}-*/;


	
}
